﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using Subtle.Domain.Models;

namespace Subtle.ViewModels
{
	/// <summary>
	/// Account Login View Model
	/// </summary>
	public class AccountLoginViewModel
	{
		public string Username { get; set; }
		public string Password { get; set; }

		/// <summary>
		/// Get User
		/// </summary>
		/// <returns></returns>
		public User GetUser()
		{
			User user = new User();
			AutoMapper.Mapper.Map<AccountLoginViewModel, User>(this, user);
			return user;
		}
	}
}